<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Services\StoreCommentService;

class StoreCommentController extends CommonController{
	private $storeCommentService;
    public function __construct(Request $request){
    	$this->storeCommentService = new StoreCommentService();
        parent::__construct($request); 
    }
    
    
     
    /**
     * 查看详情
     */
    function detail(){
    	$oid = $this->request->input('oid');
    	$result = $this->storeCommentService->findInfo(array('oid'=>$oid));
    	return view('store.comment.detail',['info'=>$result['data']]);
    }
    
}
